//
//  DebugOptionManager.m
//  FFSurveillance
//
//  Created by roro_latrobe on 16/11/2.
//  Copyright © 2016年 cn.wanda. All rights reserved.
//

#import "DebugOptionManager.h"
#import "FFLogManager.h"
#import "XYRouter.h"
#import "FFDebug.h"

@implementation DebugOptionManager

+ (DebugOptionManager *)sharedManager{
    static DebugOptionManager *kInstance = nil;
    @synchronized(self){
        if(!kInstance){
            kInstance = [[DebugOptionManager alloc] init];
        }
    }
    return kInstance;
}


- (void)start {

    [[XYRouter sharedInstance] mapKey:FF_DEBUG_VC_KEY toControllerClassName:@"FFSDebugOptionViewController"];
    
    [[XYRouter sharedInstance] mapKey:@"logDetail" toControllerClassName:@"FFSJSONHighlightViewController"];
//    [[XYRouter sharedInstance] mapKey:@"dynamicFormPage" toControllerClassName:@"XLFormViewController"];
}

@end
